import request from '@/utils/request'

// 查询学历材料类型信息列表
export function listEducationProof(query) {
  return request({
    url: '/chengkao/educationProof/list',
    method: 'get',
    params: query
  })
}

// 查询学历材料类型信息详细
export function getEducationProof(id) {
  return request({
    url: '/chengkao/educationProof/' + id,
    method: 'get'
  })
}

// 新增学历材料类型信息
export function addEducationProof(data) {
  return request({
    url: '/chengkao/educationProof',
    method: 'post',
    data: data
  })
}

// 修改学历材料类型信息
export function updateEducationProof(data) {
  return request({
    url: '/chengkao/educationProof',
    method: 'put',
    data: data
  })
}

// 删除学历材料类型信息
export function delEducationProof(id) {
  return request({
    url: '/chengkao/educationProof/' + id,
    method: 'delete'
  })
}
